<include file="Public:header" />
<style type="text/css">
    .textarea{border:1px solid #ccc;resize: none;width:500px;height:80px;}
    .tdl{text-align:right;vertical-align: top;}
    .tdr{text-align: left;padding-left: 10px;vertical-align: top;}
</style>
<div class="pad_lr_10" style="margin-top: 10px;" >
        <table width="100%" cellspacing="0" class="search_form">
            <tbody>
            <tr>
                <td>
                    <div class="explain_col">
                        <input type="button" name="search" class="btn" value="评价列表" onclick="history.go(-1);"/>
                    </div>
                </td>
            </tr>
            </tbody>
        </table>
    <div class="J_tablelist table_list">
        <form method="post" action="{:U('Comment/edit')}">
        <table width="100%" cellpadding="0" cellspacing="0">
            <col width="100px" />
            <col />
            <tbody>
            <tr>
                <td class="tdl">标题：</td>
                <td class="tdr">{$info.house_title}</td>
            </tr>

                <tr>
                    <td class="tdl">用户名：</td>
                    <td class="tdr">{$info.nickname}</td>
                </tr>
            <tr>
                <td class="tdl">电话：</td>
                <td class="tdr">{$info.phone}</td>
            </tr>
                <tr>
                    <td class="tdl">评论时间：</td>
                    <td class="tdr">{$info.add_time|date='Y-m-d H:i:s',###}</td>
                </tr>
                <tr>
                    <td valign="top" class="tdl">内容：</td>
                    <td class="tdr">{$info.content}</td><input type="hidden" name="id" value="{$info.id}" />
                </tr>
                    <tr>
                        <td valign="top" class="tdl">状态：</td>
                        <td class="tdr">
                            <select name="status">
                                <option value="1" <if condition="$info['status'] eq 1">selected</if>>通过审核</option>
                                <option value="0" <if condition="$info['status'] eq 0">selected</if>>未审</option>
                            </select>
                        </td>
                    </tr>

                    <tr>
                        <td class="tdl">回复：</td>
                        <td class="tdr">
                            <textarea class="textarea" name="recontent">{$info.recontent}</textarea>
                        </td>
                    </tr>



            <tr>
                <td></td>
                <td> <input type="submit" class="btn btn_submit" value="提交" /></td>
            </tr>
            </tbody>
        </table>
        </form>
    </div>
</div>
<include file="Public:footer" />

</body>
</html>
